package com.thor.palmmall.impl.pay;

public class UnionPayConfig {
  /** 前台请求URL. */
  private String frontRequestUrl;
  /** 后台请求URL. */
  private String backRequestUrl;
  /** 单笔查询 */
  private String singleQueryUrl;
  /** 批量查询 */
  private String batchQueryUrl;
  /** 批量交易 */
  private String batchTransUrl;
  /** 文件传输 */
  private String fileTransUrl;
  /** 有卡交易. */
  private String cardRequestUrl;

  /** app交易 */
  private String appRequestUrl;
  /* 缴费相关地址 */
  private String jfFrontRequestUrl;
  private String jfBackRequestUrl;
  private String jfSingleQueryUrl;
  private String jfCardRequestUrl;
  private String jfAppRequestUrl;
  /** 签名证书路径. */
  private String signCertPath;
  /** 签名证书密码. */
  private String signCertPwd;
  /** 签名证书类型. */
  private String signCertType;

  /** 加密公钥证书路径. */
  private String encryptCertPath;
  /** 中级证书路径 */
  private String middleCertPath;
  /** 根证书路径 */
  private String rootCertPath;
  /** 是否验证验签证书CN，除了false都验 */
  private boolean ifValidateCNName = true;
  /** 是否验证https证书，默认都不验 */
  private boolean ifValidateRemoteCert = false;
  /** signMethod，没配按01吧 */
  private String signMethod = "01";
  /** version，没配按5.0.0 */
  private String version = "5.0.0";
  /** frontUrl */
  private String frontUrl;
  /** backUrl */
  private String backUrl;

  /** 商户id */
  private String merId;

  public String getMerId() {
    return merId;
  }

  public void setMerId(String merId) {
    this.merId = merId;
  }

  public String getFrontRequestUrl() {
    return frontRequestUrl;
  }

  public void setFrontRequestUrl(String frontRequestUrl) {
    this.frontRequestUrl = frontRequestUrl;
  }

  public String getBackRequestUrl() {
    return backRequestUrl;
  }

  public void setBackRequestUrl(String backRequestUrl) {
    this.backRequestUrl = backRequestUrl;
  }

  public String getSingleQueryUrl() {
    return singleQueryUrl;
  }

  public void setSingleQueryUrl(String singleQueryUrl) {
    this.singleQueryUrl = singleQueryUrl;
  }

  public String getBatchQueryUrl() {
    return batchQueryUrl;
  }

  public void setBatchQueryUrl(String batchQueryUrl) {
    this.batchQueryUrl = batchQueryUrl;
  }

  public String getFileTransUrl() {
    return fileTransUrl;
  }

  public void setFileTransUrl(String fileTransUrl) {
    this.fileTransUrl = fileTransUrl;
  }

  public String getSignCertPath() {
    return signCertPath;
  }

  public void setSignCertPath(String signCertPath) {
    this.signCertPath = signCertPath;
  }

  public String getSignCertPwd() {
    return signCertPwd;
  }

  public void setSignCertPwd(String signCertPwd) {
    this.signCertPwd = signCertPwd;
  }

  public String getSignCertType() {
    return signCertType;
  }

  public void setSignCertType(String signCertType) {
    this.signCertType = signCertType;
  }

  public String getMiddleCertPath() {
    return middleCertPath;
  }

  public void setMiddleCertPath(String middleCertPath) {
    this.middleCertPath = middleCertPath;
  }

  public String getRootCertPath() {
    return rootCertPath;
  }

  public void setRootCertPath(String rootCertPath) {
    this.rootCertPath = rootCertPath;
  }

  public boolean isIfValidateCNName() {
    return ifValidateCNName;
  }

  public void setIfValidateCNName(boolean ifValidateCNName) {
    this.ifValidateCNName = ifValidateCNName;
  }

  public boolean isIfValidateRemoteCert() {
    return ifValidateRemoteCert;
  }

  public void setIfValidateRemoteCert(boolean ifValidateRemoteCert) {
    this.ifValidateRemoteCert = ifValidateRemoteCert;
  }

  public String getSignMethod() {
    return signMethod;
  }

  public void setSignMethod(String signMethod) {
    this.signMethod = signMethod;
  }

  public String getVersion() {
    return version;
  }

  public void setVersion(String version) {
    this.version = version;
  }

  public String getFrontUrl() {
    return frontUrl;
  }

  public void setFrontUrl(String frontUrl) {
    this.frontUrl = frontUrl;
  }

  public String getBackUrl() {
    return backUrl;
  }

  public void setBackUrl(String backUrl) {
    this.backUrl = backUrl;
  }

  public String getBatchTransUrl() {
    return batchTransUrl;
  }

  public void setBatchTransUrl(String batchTransUrl) {
    this.batchTransUrl = batchTransUrl;
  }

  public String getJfBackRequestUrl() {
    return jfBackRequestUrl;
  }

  public void setJfBackRequestUrl(String jfBackRequestUrl) {
    this.jfBackRequestUrl = jfBackRequestUrl;
  }

  public String getJfSingleQueryUrl() {
    return jfSingleQueryUrl;
  }

  public void setJfSingleQueryUrl(String jfSingleQueryUrl) {
    this.jfSingleQueryUrl = jfSingleQueryUrl;
  }

  public String getJfCardRequestUrl() {
    return jfCardRequestUrl;
  }

  public void setJfCardRequestUrl(String jfCardRequestUrl) {
    this.jfCardRequestUrl = jfCardRequestUrl;
  }

  public String getJfAppRequestUrl() {
    return jfAppRequestUrl;
  }

  public void setJfAppRequestUrl(String jfAppRequestUrl) {
    this.jfAppRequestUrl = jfAppRequestUrl;
  }

  public String getCardRequestUrl() {
    return cardRequestUrl;
  }

  public void setCardRequestUrl(String cardRequestUrl) {
    this.cardRequestUrl = cardRequestUrl;
  }

  public String getAppRequestUrl() {
    return appRequestUrl;
  }

  public void setAppRequestUrl(String appRequestUrl) {
    this.appRequestUrl = appRequestUrl;
  }

  public String getEncryptCertPath() {
    return encryptCertPath;
  }

  public void setEncryptCertPath(String encryptCertPath) {
    this.encryptCertPath = encryptCertPath;
  }

  public String getJfFrontRequestUrl() {
    return jfFrontRequestUrl;
  }

  public void setJfFrontRequestUrl(String jfFrontRequestUrl) {
    this.jfFrontRequestUrl = jfFrontRequestUrl;
  }

}
